package com.hy.admin.dao;

import com.hy.admin.entity.FreeCourseTypeEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FreeCourseTypeDao {
    int deleteByPrimaryKey(Long id);

    int insert(FreeCourseTypeEntity record);

    int insertSelective(FreeCourseTypeEntity record);

    FreeCourseTypeEntity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FreeCourseTypeEntity record);

    int updateByPrimaryKey(FreeCourseTypeEntity record);

    FreeCourseTypeEntity selectByCourseId(Long courseId);
}